//
//  MKRollPlayImageCollectionViewCell.m
//  ManKeCartoon
//
//  Created by 邹功梁 on 15/10/24.
//  Copyright © 2015年 ManKe. All rights reserved.
//

#import "MKRollPlayImageCollectionViewCell.h"
#import "MKBaseHeader.h"
@implementation MKRollPlayImageCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _scrollImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
        
        [self.contentView addSubview:_scrollImage];
    }
    return self;
}

- (void)setSCrollModel:(MKHomeScModel *)model
{
    [_scrollImage sd_setImageWithURL:[NSURL URLWithString:model.banner_url]];
}

@end
